package com.aliwo.design.patterns.proxy.jdkProxy;

/**
 * @author xuyayuan
 * @description TODO
 * @date 2021/9/13 11:52
 */
public class RealSubject implements Subject{

    @Override
    public void hello(String str) {
        System.out.println("hello:  " + str);
    }

    @Override
    public String bye() {
        System.out.println("goodBye");
        return "over";
    }
}
